Skip to content

[VPlan] Support VPWidenPointerInductionRecipes with EVL tail folding #152110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

lukel97
Copy link
Contributor

@lukel97 lukel97 commented Aug 5, 2025

Now that VPWidenPointerInductionRecipes are modelled in VPlan in #148274, we can support them in EVL tail folding.

We need to replace their VFxUF operand with EVL as the increment is not guaranteed to always be VF on the penultimate iteration, and UF is always 1 with EVL tail folding.

We also need to move the creation of the backedge value to the latch so that EVL dominates it.

With this we will no longer fail to convert a VPlan to EVL tail folding, so adjust tryAddExplicitVectorLength to account for this. This brings us to 99.4% of all vector loops vectorized on SPEC CPU 2017 with tail folding vs no tail folding.

The test in only-compute-cost-for-vplan-vfs.ll previously relied on widened pointer inductions with EVL tail folding to end up in a scenario with no vector VPlans, so this also replaces it with an unvectorizable fixed-order recurrence test from first-order-recurrence-multiply-recurrences.ll that also gets discarded.

Now that VPWidenPointerInductionRecipes are modelled in VPlan in llvm#148274, we can support them in EVL tail folding.

We need to replace their VFxUF operand with EVL as the increment is not guaranteed to always be VF on the penultimate iteration, and UF is always 1 with EVL tail folding.

We also need to move the creation of the backedge value to the latch so that EVL dominates it.

With this we will no longer fail to convert a VPlan to EVL tail folding, so adjust tryAddExplicitVectorLength to account for this. This brings us to 99.4% of all vector loops vectorized on SPEC CPU 2017 with tail folding vs no tail folding.

The test in only-compute-cost-for-vplan-vfs.ll previously relied on widened pointer inductions with EVL tail folding to end up in a scenario with no vector VPlans, so this also replaces it with an unvectorizable fixed-order recurrence test from first-order-recurrence-multiply-recurrences.ll that also gets discarded.
@llvmbot
Copy link
Member

llvmbot commented Aug 5, 2025

@llvm/pr-subscribers-vectorizers
@llvm/pr-subscribers-llvm-transforms

@llvm/pr-subscribers-backend-risc-v

Author: Luke Lau (lukel97)

Changes

Now that VPWidenPointerInductionRecipes are modelled in VPlan in #148274, we can support them in EVL tail folding.

We need to replace their VFxUF operand with EVL as the increment is not guaranteed to always be VF on the penultimate iteration, and UF is always 1 with EVL tail folding.

We also need to move the creation of the backedge value to the latch so that EVL dominates it.

With this we will no longer fail to convert a VPlan to EVL tail folding, so adjust tryAddExplicitVectorLength to account for this. This brings us to 99.4% of all vector loops vectorized on SPEC CPU 2017 with tail folding vs no tail folding.

The test in only-compute-cost-for-vplan-vfs.ll previously relied on widened pointer inductions with EVL tail folding to end up in a scenario with no vector VPlans, so this also replaces it with an unvectorizable fixed-order recurrence test from first-order-recurrence-multiply-recurrences.ll that also gets discarded.


Patch is 27.30 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/152110.diff

11 Files Affected:

  • (modified) llvm/lib/Transforms/Vectorize/LoopVectorize.cpp (+3-5)
  • (modified) llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp (+13-12)
  • (modified) llvm/lib/Transforms/Vectorize/VPlanTransforms.h (+3-4)
  • (modified) llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp (+1-1)
  • (modified) llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-gep.ll (+2-2)
  • (modified) llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll (+2-2)
  • (modified) llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (+42-6)
  • (modified) llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll (+25-18)
  • (modified) llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll (+3-3)
  • (modified) llvm/test/Transforms/LoopVectorize/pointer-induction.ll (+1-1)
  • (modified) llvm/test/Transforms/LoopVectorize/scev-predicate-reasoning.ll (+8-8)
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index eb0e0fd7b3d8e..57601b905c8d8 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -8450,11 +8450,9 @@ void LoopVectorizationPlanner::buildVPlansWithVPRecipes(ElementCount MinVF,
                                  *Plan, CM.getMinimalBitwidths());
       VPlanTransforms::runPass(VPlanTransforms::optimize, *Plan);
       // TODO: try to put it close to addActiveLaneMask().
-      // Discard the plan if it is not EVL-compatible
-      if (CM.foldTailWithEVL() && !HasScalarVF &&
-          !VPlanTransforms::runPass(VPlanTransforms::tryAddExplicitVectorLength,
-                                    *Plan, CM.getMaxSafeElements()))
-        break;
+      if (CM.foldTailWithEVL() && !HasScalarVF)
+        VPlanTransforms::runPass(VPlanTransforms::addExplicitVectorLength,
+                                 *Plan, CM.getMaxSafeElements());
       assert(verifyVPlanIsValid(*Plan) && "VPlan is invalid");
       VPlans.push_back(std::move(Plan));
     }
diff --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
index a7965a053e6e3..b64b573540074 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -2177,8 +2177,18 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
   assert(all_of(Plan.getVF().users(),
                 IsaPred<VPVectorEndPointerRecipe, VPScalarIVStepsRecipe,
                         VPWidenIntOrFpInductionRecipe>) &&
+         all_of(Plan.getVFxUF().users(),
+                [&Plan](VPUser *U) {
+                  return match(U, m_c_Binary<Instruction::Add>(
+                                      m_Specific(Plan.getCanonicalIV()),
+                                      m_Specific(&Plan.getVFxUF()))) ||
+                         isa<VPWidenPointerInductionRecipe>(U);
+                }) &&
          "User of VF that we can't transform to EVL.");
   Plan.getVF().replaceAllUsesWith(&EVL);
+  Plan.getVFxUF().replaceUsesWithIf(&EVL, [](VPUser &U, unsigned Idx) {
+    return isa<VPWidenPointerInductionRecipe>(U);
+  });
 
   // Defer erasing recipes till the end so that we don't invalidate the
   // VPTypeAnalysis cache.
@@ -2315,16 +2325,9 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
 /// %NextAVL = sub IVSize nuw %AVL, %OpEVL
 /// ...
 ///
-bool VPlanTransforms::tryAddExplicitVectorLength(
+void VPlanTransforms::addExplicitVectorLength(
     VPlan &Plan, const std::optional<unsigned> &MaxSafeElements) {
   VPBasicBlock *Header = Plan.getVectorLoopRegion()->getEntryBasicBlock();
-  // The transform updates all users of inductions to work based on EVL, instead
-  // of the VF directly. At the moment, widened pointer inductions cannot be
-  // updated, so bail out if the plan contains any.
-  bool ContainsWidenPointerInductions =
-      any_of(Header->phis(), IsaPred<VPWidenPointerInductionRecipe>);
-  if (ContainsWidenPointerInductions)
-    return false;
 
   auto *CanonicalIVPHI = Plan.getCanonicalIV();
   auto *CanIVTy = CanonicalIVPHI->getScalarType();
@@ -2379,7 +2382,6 @@ bool VPlanTransforms::tryAddExplicitVectorLength(
   CanonicalIVIncrement->setOperand(0, CanonicalIVPHI);
   // TODO: support unroll factor > 1.
   Plan.setUF(1);
-  return true;
 }
 
 void VPlanTransforms::canonicalizeEVLLoops(VPlan &Plan) {
@@ -2803,13 +2805,12 @@ static void expandVPWidenPointerInduction(VPWidenPointerInductionRecipe *R,
   R->replaceAllUsesWith(PtrAdd);
 
   // Create the backedge value for the scalar pointer phi.
-  Builder.setInsertPoint(R->getParent(), R->getParent()->getFirstNonPhi());
+  VPBasicBlock *ExitingBB = Plan->getVectorLoopRegion()->getExitingBasicBlock();
+  Builder.setInsertPoint(ExitingBB, ExitingBB->getTerminator()->getIterator());
   VF = Builder.createScalarZExtOrTrunc(VF, StepTy, TypeInfo.inferScalarType(VF),
                                        DL);
   VPValue *Inc = Builder.createNaryOp(Instruction::Mul, {Step, VF});
 
-  VPBasicBlock *ExitingBB = Plan->getVectorLoopRegion()->getExitingBasicBlock();
-  Builder.setInsertPoint(ExitingBB, ExitingBB->getTerminator()->getIterator());
   VPValue *InductionGEP =
       Builder.createPtrAdd(ScalarPtrPhi, Inc, DL, "ptr.ind");
   ScalarPtrPhi->addOperand(InductionGEP);
diff --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.h b/llvm/lib/Transforms/Vectorize/VPlanTransforms.h
index 5943684e17a76..7adfdf549a5ad 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.h
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.h
@@ -177,10 +177,9 @@ struct VPlanTransforms {
   /// VPCanonicalIVPHIRecipe with a VPEVLBasedIVPHIRecipe.
   /// VPCanonicalIVPHIRecipe is only used to control the loop after
   /// this transformation.
-  /// \returns true if the transformation succeeds, or false if it doesn't.
-  static bool
-  tryAddExplicitVectorLength(VPlan &Plan,
-                             const std::optional<unsigned> &MaxEVLSafeElements);
+  static void
+  addExplicitVectorLength(VPlan &Plan,
+                          const std::optional<unsigned> &MaxEVLSafeElements);
 
   // For each Interleave Group in \p InterleaveGroups replace the Recipes
   // widening its memory instructions with a single VPInterleaveRecipe at its
diff --git a/llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp b/llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
index 14ae4f2204310..3417e1c8dc1ea 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
@@ -157,7 +157,7 @@ bool VPlanVerifier::verifyEVLRecipe(const VPInstruction &EVL) const {
           return VerifyEVLUse(*S, S->getNumOperands() - 1);
         })
         .Case<VPWidenStoreEVLRecipe, VPReductionEVLRecipe,
-              VPWidenIntOrFpInductionRecipe>(
+              VPWidenIntOrFpInductionRecipe, VPWidenPointerInductionRecipe>(
             [&](const VPRecipeBase *S) { return VerifyEVLUse(*S, 2); })
         .Case<VPScalarIVStepsRecipe>([&](auto *R) {
           if (R->getNumOperands() != 3) {
diff --git a/llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-gep.ll b/llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-gep.ll
index 9929f35d47dac..5c6328e51760d 100644
--- a/llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-gep.ll
+++ b/llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-gep.ll
@@ -35,7 +35,6 @@ define void @pointer_induction_used_as_vector(ptr noalias %start.1, ptr noalias
 ; CHECK:       vector.body:
 ; CHECK-NEXT:    [[INDEX:%.*]] = phi i64 [ 0, [[VECTOR_PH]] ], [ [[INDEX_NEXT:%.*]], [[VECTOR_BODY]] ]
 ; CHECK-NEXT:    [[POINTER_PHI:%.*]] = phi ptr [ [[START_2]], [[VECTOR_PH]] ], [ [[PTR_IND:%.*]], [[VECTOR_BODY]] ]
-; CHECK-NEXT:    [[TMP11:%.*]] = mul i64 1, [[TMP6]]
 ; CHECK-NEXT:    [[TMP13:%.*]] = call <vscale x 2 x i64> @llvm.stepvector.nxv2i64()
 ; CHECK-NEXT:    [[TMP15:%.*]] = mul <vscale x 2 x i64> [[TMP13]], splat (i64 1)
 ; CHECK-NEXT:    [[VECTOR_GEP:%.*]] = getelementptr i8, ptr [[POINTER_PHI]], <vscale x 2 x i64> [[TMP15]]
@@ -48,6 +47,7 @@ define void @pointer_induction_used_as_vector(ptr noalias %start.1, ptr noalias
 ; CHECK-NEXT:    [[TMP20:%.*]] = add <vscale x 2 x i8> [[WIDE_LOAD]], splat (i8 1)
 ; CHECK-NEXT:    store <vscale x 2 x i8> [[TMP20]], ptr [[TMP18]], align 1
 ; CHECK-NEXT:    [[INDEX_NEXT]] = add nuw i64 [[INDEX]], [[TMP6]]
+; CHECK-NEXT:    [[TMP11:%.*]] = mul i64 1, [[TMP6]]
 ; CHECK-NEXT:    [[PTR_IND]] = getelementptr i8, ptr [[POINTER_PHI]], i64 [[TMP11]]
 ; CHECK-NEXT:    [[TMP21:%.*]] = icmp eq i64 [[INDEX_NEXT]], [[N_VEC]]
 ; CHECK-NEXT:    br i1 [[TMP21]], label [[MIDDLE_BLOCK:%.*]], label [[VECTOR_BODY]], !llvm.loop [[LOOP0:![0-9]+]]
@@ -119,7 +119,6 @@ define void @pointer_induction(ptr noalias %start, i64 %N) {
 ; CHECK:       vector.body:
 ; CHECK-NEXT:    [[INDEX2:%.*]] = phi i64 [ 0, [[VECTOR_PH]] ], [ [[INDEX_NEXT:%.*]], [[VECTOR_BODY]] ]
 ; CHECK-NEXT:    [[POINTER_PHI:%.*]] = phi ptr [ [[START]], [[VECTOR_PH]] ], [ [[PTR_IND:%.*]], [[VECTOR_BODY]] ]
-; CHECK-NEXT:    [[TMP10:%.*]] = mul i64 1, [[TMP6]]
 ; CHECK-NEXT:    [[TMP12:%.*]] = call <vscale x 2 x i64> @llvm.stepvector.nxv2i64()
 ; CHECK-NEXT:    [[TMP14:%.*]] = mul <vscale x 2 x i64> [[TMP12]], splat (i64 1)
 ; CHECK-NEXT:    [[VECTOR_GEP:%.*]] = getelementptr i8, ptr [[POINTER_PHI]], <vscale x 2 x i64> [[TMP14]]
@@ -128,6 +127,7 @@ define void @pointer_induction(ptr noalias %start, i64 %N) {
 ; CHECK-NEXT:    [[TMP17:%.*]] = add <vscale x 2 x i8> [[WIDE_LOAD]], splat (i8 1)
 ; CHECK-NEXT:    store <vscale x 2 x i8> [[TMP17]], ptr [[TMP15]], align 1
 ; CHECK-NEXT:    [[INDEX_NEXT]] = add nuw i64 [[INDEX2]], [[TMP6]]
+; CHECK-NEXT:    [[TMP10:%.*]] = mul i64 1, [[TMP6]]
 ; CHECK-NEXT:    [[PTR_IND]] = getelementptr i8, ptr [[POINTER_PHI]], i64 [[TMP10]]
 ; CHECK-NEXT:    [[TMP18:%.*]] = icmp eq i64 [[INDEX_NEXT]], [[N_VEC]]
 ; CHECK-NEXT:    br i1 [[TMP18]], label [[MIDDLE_BLOCK:%.*]], label [[VECTOR_BODY]], !llvm.loop [[LOOP4:![0-9]+]]
diff --git a/llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll b/llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
index 6947884efb699..2c88e0e744fac 100644
--- a/llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
+++ b/llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
@@ -239,7 +239,6 @@ define i32 @pointer_iv_mixed(ptr noalias %a, ptr noalias %b, i64 %n) #0 {
 ; CHECK-NEXT:    [[INDEX:%.*]] = phi i64 [ 0, [[VECTOR_PH]] ], [ [[INDEX_NEXT:%.*]], [[VECTOR_BODY]] ]
 ; CHECK-NEXT:    [[POINTER_PHI:%.*]] = phi ptr [ [[A]], [[VECTOR_PH]] ], [ [[PTR_IND:%.*]], [[VECTOR_BODY]] ]
 ; CHECK-NEXT:    [[VEC_PHI:%.*]] = phi <vscale x 2 x i32> [ zeroinitializer, [[VECTOR_PH]] ], [ [[TMP12:%.*]], [[VECTOR_BODY]] ]
-; CHECK-NEXT:    [[TMP8:%.*]] = shl nuw nsw i64 [[TMP5]], 3
 ; CHECK-NEXT:    [[TMP9:%.*]] = call <vscale x 2 x i64> @llvm.stepvector.nxv2i64()
 ; CHECK-NEXT:    [[TMP10:%.*]] = shl <vscale x 2 x i64> [[TMP9]], splat (i64 2)
 ; CHECK-NEXT:    [[VECTOR_GEP:%.*]] = getelementptr i8, ptr [[POINTER_PHI]], <vscale x 2 x i64> [[TMP10]]
@@ -250,6 +249,7 @@ define i32 @pointer_iv_mixed(ptr noalias %a, ptr noalias %b, i64 %n) #0 {
 ; CHECK-NEXT:    [[TMP12]] = add <vscale x 2 x i32> [[WIDE_LOAD]], [[VEC_PHI]]
 ; CHECK-NEXT:    store <vscale x 2 x ptr> [[VECTOR_GEP]], ptr [[NEXT_GEP]], align 8
 ; CHECK-NEXT:    [[INDEX_NEXT]] = add nuw i64 [[INDEX]], [[TMP6]]
+; CHECK-NEXT:    [[TMP8:%.*]] = shl nuw nsw i64 [[TMP5]], 3
 ; CHECK-NEXT:    [[PTR_IND]] = getelementptr i8, ptr [[POINTER_PHI]], i64 [[TMP8]]
 ; CHECK-NEXT:    [[TMP13:%.*]] = icmp eq i64 [[INDEX_NEXT]], [[N_VEC]]
 ; CHECK-NEXT:    br i1 [[TMP13]], label [[MIDDLE_BLOCK:%.*]], label [[VECTOR_BODY]], !llvm.loop [[LOOP7:![0-9]+]]
@@ -313,7 +313,6 @@ define void @phi_used_in_vector_compare_and_scalar_indvar_update_and_store(ptr %
 ; CHECK:       vector.body:
 ; CHECK-NEXT:    [[INDEX:%.*]] = phi i64 [ 0, [[VECTOR_PH]] ], [ [[INDEX_NEXT:%.*]], [[VECTOR_BODY]] ]
 ; CHECK-NEXT:    [[POINTER_PHI:%.*]] = phi ptr [ [[PTR:%.*]], [[VECTOR_PH]] ], [ [[PTR_IND:%.*]], [[VECTOR_BODY]] ]
-; CHECK-NEXT:    [[TMP3:%.*]] = shl nuw nsw i64 [[TMP0]], 2
 ; CHECK-NEXT:    [[TMP4:%.*]] = call <vscale x 2 x i64> @llvm.stepvector.nxv2i64()
 ; CHECK-NEXT:    [[TMP5:%.*]] = shl <vscale x 2 x i64> [[TMP4]], splat (i64 1)
 ; CHECK-NEXT:    [[VECTOR_GEP:%.*]] = getelementptr i8, ptr [[POINTER_PHI]], <vscale x 2 x i64> [[TMP5]]
@@ -321,6 +320,7 @@ define void @phi_used_in_vector_compare_and_scalar_indvar_update_and_store(ptr %
 ; CHECK-NEXT:    [[TMP7:%.*]] = extractelement <vscale x 2 x ptr> [[VECTOR_GEP]], i64 0
 ; CHECK-NEXT:    call void @llvm.masked.store.nxv2i16.p0(<vscale x 2 x i16> zeroinitializer, ptr [[TMP7]], i32 2, <vscale x 2 x i1> [[TMP6]])
 ; CHECK-NEXT:    [[INDEX_NEXT]] = add nuw i64 [[INDEX]], [[TMP1]]
+; CHECK-NEXT:    [[TMP3:%.*]] = shl nuw nsw i64 [[TMP0]], 2
 ; CHECK-NEXT:    [[PTR_IND]] = getelementptr i8, ptr [[POINTER_PHI]], i64 [[TMP3]]
 ; CHECK-NEXT:    [[TMP8:%.*]] = icmp eq i64 [[INDEX_NEXT]], 1024
 ; CHECK-NEXT:    br i1 [[TMP8]], label [[MIDDLE_BLOCK:%.*]], label [[VECTOR_BODY]], !llvm.loop [[LOOP9:![0-9]+]]
diff --git a/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll b/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
index 5f13089ff17fd..369da05015af8 100644
--- a/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
+++ b/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
@@ -74,16 +74,50 @@ define void @test_wide_ptr_induction(ptr noalias %a, ptr noalias %b, i64 %N) {
 ; CHECK-LABEL: define void @test_wide_ptr_induction(
 ; CHECK-SAME: ptr noalias [[A:%.*]], ptr noalias [[B:%.*]], i64 [[N:%.*]]) #[[ATTR0]] {
 ; CHECK-NEXT:  entry:
+; CHECK-NEXT:    br i1 false, label [[SCALAR_PH:%.*]], label [[VECTOR_PH:%.*]]
+; CHECK:       vector.ph:
+; CHECK-NEXT:    [[TMP0:%.*]] = call i64 @llvm.vscale.i64()
+; CHECK-NEXT:    [[TMP1:%.*]] = mul nuw i64 [[TMP0]], 2
+; CHECK-NEXT:    [[TMP2:%.*]] = sub i64 [[TMP1]], 1
+; CHECK-NEXT:    [[N_RND_UP:%.*]] = add i64 [[N]], [[TMP2]]
+; CHECK-NEXT:    [[N_MOD_VF:%.*]] = urem i64 [[N_RND_UP]], [[TMP1]]
+; CHECK-NEXT:    [[N_VEC:%.*]] = sub i64 [[N_RND_UP]], [[N_MOD_VF]]
+; CHECK-NEXT:    [[TMP3:%.*]] = call i64 @llvm.vscale.i64()
+; CHECK-NEXT:    [[TMP4:%.*]] = mul nuw i64 [[TMP3]], 2
 ; CHECK-NEXT:    br label [[VECTOR_BODY:%.*]]
+; CHECK:       vector.body:
+; CHECK-NEXT:    [[EVL_BASED_IV:%.*]] = phi i64 [ 0, [[VECTOR_PH]] ], [ [[INDEX_EVL_NEXT:%.*]], [[VECTOR_BODY]] ]
+; CHECK-NEXT:    [[POINTER_PHI:%.*]] = phi ptr [ [[B]], [[VECTOR_PH]] ], [ [[PTR_IND:%.*]], [[VECTOR_BODY]] ]
+; CHECK-NEXT:    [[AVL:%.*]] = phi i64 [ [[N]], [[VECTOR_PH]] ], [ [[AVL_NEXT:%.*]], [[VECTOR_BODY]] ]
+; CHECK-NEXT:    [[TMP5:%.*]] = call <vscale x 2 x i64> @llvm.stepvector.nxv2i64()
+; CHECK-NEXT:    [[TMP6:%.*]] = mul <vscale x 2 x i64> [[TMP5]], splat (i64 8)
+; CHECK-NEXT:    [[VECTOR_GEP:%.*]] = getelementptr i8, ptr [[POINTER_PHI]], <vscale x 2 x i64> [[TMP6]]
+; CHECK-NEXT:    [[TMP7:%.*]] = call i32 @llvm.experimental.get.vector.length.i64(i64 [[AVL]], i32 2, i1 true)
+; CHECK-NEXT:    [[TMP8:%.*]] = getelementptr inbounds i64, ptr [[A]], i64 [[EVL_BASED_IV]]
+; CHECK-NEXT:    call void @llvm.vp.store.nxv2p0.p0(<vscale x 2 x ptr> [[VECTOR_GEP]], ptr align 8 [[TMP8]], <vscale x 2 x i1> splat (i1 true), i32 [[TMP7]])
+; CHECK-NEXT:    [[TMP9:%.*]] = zext i32 [[TMP7]] to i64
+; CHECK-NEXT:    [[INDEX_EVL_NEXT]] = add i64 [[TMP9]], [[EVL_BASED_IV]]
+; CHECK-NEXT:    [[AVL_NEXT]] = sub nuw i64 [[AVL]], [[TMP9]]
+; CHECK-NEXT:    [[TMP10:%.*]] = zext i32 [[TMP7]] to i64
+; CHECK-NEXT:    [[TMP11:%.*]] = mul i64 8, [[TMP10]]
+; CHECK-NEXT:    [[PTR_IND]] = getelementptr i8, ptr [[POINTER_PHI]], i64 [[TMP11]]
+; CHECK-NEXT:    [[TMP12:%.*]] = icmp eq i64 [[INDEX_EVL_NEXT]], [[N]]
+; CHECK-NEXT:    br i1 [[TMP12]], label [[MIDDLE_BLOCK:%.*]], label [[VECTOR_BODY]], !llvm.loop [[LOOP5:![0-9]+]]
+; CHECK:       middle.block:
+; CHECK-NEXT:    br label [[FOR_COND_CLEANUP:%.*]]
+; CHECK:       scalar.ph:
+; CHECK-NEXT:    [[BC_RESUME_VAL:%.*]] = phi i64 [ 0, [[ENTRY:%.*]] ]
+; CHECK-NEXT:    [[BC_RESUME_VAL1:%.*]] = phi ptr [ [[B]], [[ENTRY]] ]
+; CHECK-NEXT:    br label [[FOR_BODY:%.*]]
 ; CHECK:       for.body:
-; CHECK-NEXT:    [[EVL_BASED_IV:%.*]] = phi i64 [ 0, [[VECTOR_PH:%.*]] ], [ [[INDEX_EVL_NEXT:%.*]], [[VECTOR_BODY]] ]
-; CHECK-NEXT:    [[ADDR:%.*]] = phi ptr [ [[INCDEC_PTR:%.*]], [[VECTOR_BODY]] ], [ [[B]], [[VECTOR_PH]] ]
+; CHECK-NEXT:    [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
+; CHECK-NEXT:    [[ADDR:%.*]] = phi ptr [ [[INCDEC_PTR:%.*]], [[FOR_BODY]] ], [ [[BC_RESUME_VAL1]], [[SCALAR_PH]] ]
 ; CHECK-NEXT:    [[INCDEC_PTR]] = getelementptr inbounds i8, ptr [[ADDR]], i64 8
-; CHECK-NEXT:    [[ARRAYIDX:%.*]] = getelementptr inbounds i64, ptr [[A]], i64 [[EVL_BASED_IV]]
+; CHECK-NEXT:    [[ARRAYIDX:%.*]] = getelementptr inbounds i64, ptr [[A]], i64 [[IV]]
 ; CHECK-NEXT:    store ptr [[ADDR]], ptr [[ARRAYIDX]], align 8
-; CHECK-NEXT:    [[INDEX_EVL_NEXT]] = add nuw nsw i64 [[EVL_BASED_IV]], 1
-; CHECK-NEXT:    [[EXITCOND_NOT:%.*]] = icmp eq i64 [[INDEX_EVL_NEXT]], [[N]]
-; CHECK-NEXT:    br i1 [[EXITCOND_NOT]], label [[FOR_COND_CLEANUP:%.*]], label [[VECTOR_BODY]]
+; CHECK-NEXT:    [[IV_NEXT]] = add nuw nsw i64 [[IV]], 1
+; CHECK-NEXT:    [[EXITCOND_NOT:%.*]] = icmp eq i64 [[IV_NEXT]], [[N]]
+; CHECK-NEXT:    br i1 [[EXITCOND_NOT]], label [[FOR_COND_CLEANUP]], label [[FOR_BODY]], !llvm.loop [[LOOP6:![0-9]+]]
 ; CHECK:       for.cond.cleanup:
 ; CHECK-NEXT:    ret void
 ;
@@ -109,4 +143,6 @@ for.cond.cleanup:
 ; CHECK: [[META2]] = !{!"llvm.loop.isvectorized.tailfoldingstyle", !"evl"}
 ; CHECK: [[META3]] = !{!"llvm.loop.unroll.runtime.disable"}
 ; CHECK: [[LOOP4]] = distinct !{[[LOOP4]], [[META3]], [[META1]]}
+; CHECK: [[LOOP5]] = distinct !{[[LOOP5]], [[META1]], [[META2]], [[META3]]}
+; CHECK: [[LOOP6]] = distinct !{[[LOOP6]], [[META3]], [[META1]]}
 ;.
diff --git a/llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll b/llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll
index 0afe04e610bce..07a7b7b1fcc1c 100644
--- a/llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll
+++ b/llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll
@@ -1,29 +1,36 @@
-; RUN: opt -passes=loop-vectorize \
-; RUN: -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue \
-; RUN: -mtriple=riscv64 -mattr=+v -S -debug %s 2>&1 | FileCheck %s
+; RUN: opt -passes=loop-vectorize -mtriple=riscv64 -mattr=+v -S -debug %s 2>&1 | FileCheck %s
 
 ; REQUIRES: asserts
 
-; Make sure we do not vectorize a loop with a widened pointer induction.
-define void @test_wide_pointer_induction(ptr noalias %a, i64 %N) {
+; For %for.1, we are fine initially, because the previous value %for.1.next dominates the
+; user of %for.1. But for %for.2, we have to sink the user (%for.1.next) past the previous
+; value %for.2.next. This however breaks the condition we have for %for.1. We cannot fix
+; both first order recurrences and cannot vectorize the loop.
+;
+; Make sure we don't compute costs if there are no vector VPlans.
+
 ; CHECK-NOT: LV: Vector loop of width {{.+}} costs:
 ;
-; CHECK: define void @test_wide_pointer_induction(
+; CHECK: define i32 @test(
 ; CHECK-NOT: vector.body
 ;
+define i32 @test(i32 %N) {
 entry:
-  br label %loop
+  br label %for.body
 
-loop:
-  %iv = phi i64 [ 0, %entry ], [ %iv.next, %loop ]
-  %iv.ptr = phi ptr [ %a, %entry ], [ %iv.ptr.next, %loop ]
-  %arrayidx = getelementptr inbounds i64, ptr %a, i64 %iv
-  store ptr %iv.ptr, ptr %arrayidx, align 8
-  %iv.next = add nuw nsw i64 %iv, 1
-  %iv.ptr.next = getelementptr i64, ptr %iv.ptr, i32 1
-  %exitcond.not = icmp eq i64 %iv.next, %N
-  br i1 %exitcond.not, label %exit, label %loop
+for.body:                                         ; preds = %for.body.preheader, %for.body
+  %iv  = phi i32 [ %inc, %for.body ], [ 10, %entry ]
+  %for.1 = phi i32 [ %for.1.next, %for.body ], [ 20, %entry ]
+  %for.2 = phi i32 [ %for.2.next, %for.body ], [ 11, %entry ]
+  %for.1.next = add nsw i32 %for.2, 1
+  %for.2.next = shl i32 %for.1, 24
+  %inc = add nsw i32 %iv, 1
+  %exitcond = icmp eq i32 %inc, %N
+  br i1 %exitcond, label %for.cond1.for.end_crit_edge, label %for.body
 
-exit:
-  ret void
+for.cond1.for.end_crit_edge:                      ; preds = %for.body
+  %add.lcssa = phi i32 [ %for.1.next, %for.body ]
+  %sext.lcssa = phi i32 [ %for.2.next, %for.body ]
+  %res = add i32 %add.lcssa, %sext.lcssa
+  ret i32 %res
 }
diff --git a/llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll b/llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
index 9e492c62a5577..df907dcbd4606 100644
--- a/llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
+++ b/llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
@@ -170,7 +170,6 @@ define void @single_constant_stride_ptr_iv(ptr %p) {
 ; CHECK:       vector.body:
 ; CHECK-NEXT:    [[INDEX:%.*]] = phi i64 [ 0, [[VECTOR_PH]] ], [ [[INDEX_NEXT:%.*]], [[VECTOR_BODY]] ]
 ; CHECK-NEXT:    [[POINTER_PHI:%.*]] = phi ptr [ [[P]], [[VECTOR_PH]] ], [ [[PTR_IND:%.*]], [[VECTOR_BODY]] ]
-; CHECK-NEXT:    [[TMP12:%.*]] = mul i64 8, [[TMP8]]
 ; CHECK-NEXT: ...
[truncated]

@lukel97 lukel97 mentioned this pull request Aug 5, 2025
17 tasks
Comment on lines 2189 to 2190
Plan.getVFxUF().replaceUsesWithIf(&EVL, [](VPUser &U, unsigned Idx) {
return isa<VPWidenPointerInductionRecipe>(U);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have an explanation and possibly an assert. The only other allowed users is the canonical IV increment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the assertion is handled in the existing assert above. Will add a comment

m_Specific(Plan.getCanonicalIV()),
m_Specific(&Plan.getVFxUF()))) ||
isa<VPWidenPointerInductionRecipe>(U);
}) &&
"User of VF that we can't transform to EVL.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably best to split up into 2 asserts with separate messages

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in cf41972

"User of VF that we can't transform to EVL.");
Plan.getVF().replaceAllUsesWith(&EVL);
Plan.getVFxUF().replaceUsesWithIf(&EVL, [](VPUser &U, unsigned Idx) {
// Don't replace the canonical IV increment.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Don't replace the canonical IV increment.
// Only replace uses in VPWidenPointerInductionRecipe; the only other possible user is the increment of the canonical induction, which must not be updated.

From the code it is not clear why this specifically would not repalce canonical IV increment. Might be good to clarify iin comment or split up the assert and move it just before here?

Comment on lines +2811 to +2812
VPBasicBlock *ExitingBB = Plan->getVectorLoopRegion()->getExitingBasicBlock();
Builder.setInsertPoint(ExitingBB, ExitingBB->getTerminator()->getIterator());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this related to the EVL change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously the backedge value was created after the first non PHI, which uses VF.

However now that the VF passed might be the defined in the vector loop body (i.e. the VPInstruction::ExplicitVectorLength) this inserts it at the end of the region where it should dominate.

Copy link
Contributor

@fhahn fhahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@lukel97 lukel97 merged commit df8da2f into llvm:main Aug 7, 2025
9 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder lld-x86_64-ubuntu-fast running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/21721

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-devrel-x86-64 running on ml-opt-devrel-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/22992

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/ml-opt-devrel-x86-64-b1/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /b/ml-opt-devrel-x86-64-b1/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/23119

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/ml-opt-dev-x86-64-b1/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /b/ml-opt-dev-x86-64-b1/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/23001

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/ml-opt-rel-x86-64-b1/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /b/ml-opt-rel-x86-64-b1/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu running on sie-linux-worker3 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/22402

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
�[0;1;32m              ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mwith "BC_RESUME_VAL" equal to "%bc.resume.val"
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mwith "SCALAR_PH" equal to "%scalar.ph"
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mwith "FOR_BODY" equal to "%for.body"
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:104:2: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
�[0;1;32m ^
�[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
�[1m�[0m�[0;1;30m            1: �[0m�[1m�[0;1;46m; ModuleID = '<stdin>' �[0m
�[0;1;30m            2: �[0m�[1m�[0;1;46msource_filename = "<stdin>" �[0m
�[0;1;30m            3: �[0m�[1m�[0;1;46mtarget datalayout = "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128" �[0m
�[0;1;30m            4: �[0m�[1m�[0;1;46mtarget triple = "riscv64" �[0m
�[0;1;30m            5: �[0m�[1m�[0;1;46m �[0m
�[0;1;30m            6: �[0m�[1m�[0;1;46m�[0mdefine void @test_wide_integer_induction(ptr noalias %a, i64 %N) #0 {�[0;1;46m �[0m
�[0;1;32mlabel:8'0      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32mlabel:8'1      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32msame:9'0                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32msame:9'1                                                            ^~                captured var "A"
�[0m�[0;1;32msame:9'2                                                                    ^~        captured var "N"
�[0m�[0;1;32msame:9'3                                                                         ^    captured var "ATTR0"
�[0m�[0;1;30m            7: �[0m�[1m�[0;1;46m�[0mentry:�[0;1;46m �[0m
�[0;1;32mnext:10        ^~~~~~
�[0m�[0;1;30m            8: �[0m�[1m�[0;1;46m �[0mbr i1 false, label %scalar.ph, label %vector.ph�[0;1;46m �[0m
�[0;1;32mnext:11'0       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-ubuntu running on as-builder-4 while building llvm at step 7 "test-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/187/builds/8969

Here is the relevant piece of the build log for the reference
Step 7 (test-check-all) failure: Test just built components: check-all completed (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
+ /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder fuchsia-x86_64-linux running on fuchsia-debian-64-us-central1-a-1 while building llvm at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/21279

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
  Passed           : 46763 (97.70%)
  Expectedly Failed:    26 (0.05%)
[1394/1396] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1395/1396] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/wasm-ld
-- Testing: 60537 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (48453 of 60537)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 7 (check) failure: check (failure)
...
  Passed           : 46763 (97.70%)
  Expectedly Failed:    26 (0.05%)
[1394/1396] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1395/1396] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/wasm-ld
-- Testing: 60537 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (48453 of 60537)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-dm0lhkxz/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-test-suite running on ppc64le-clang-test-suite while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/16774

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-x64-windows-msvc running on windows-gcebot2 while building llvm at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/63/builds/8508

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/clang-windows.py ...' (failure)
...
  Passed           : 71798 (99.14%)
  Expectedly Failed:    35 (0.05%)
[83/84] Running the LLVM regression tests
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\Program Files\Git\usr\bin
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using ld.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using lld-link: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\lld-link.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using ld64.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld64.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using wasm-ld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\wasm-ld.exe
-- Testing: 59903 tests, 32 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (32552 of 59903)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\opt.exe -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\Transforms\LoopVectorize\RISCV\evl-compatible-loops.ll | c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\Transforms\LoopVectorize\RISCV\evl-compatible-loops.ll
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\opt.exe' -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe' 'C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\Transforms\LoopVectorize\RISCV\evl-compatible-loops.ll'
# .---command stderr------------
# | C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\Transforms\LoopVectorize\RISCV\evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
# |               ^
# | <stdin>:103:10: note: scanning from here
# | for.body: ; preds = %scalar.ph, %for.body
# |          ^
# | <stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
# | for.body: ; preds = %scalar.ph, %for.body
# |          ^
# | <stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
# | for.body: ; preds = %scalar.ph, %for.body
# |          ^
# | <stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
# | for.body: ; preds = %scalar.ph, %for.body
# |          ^
# | <stdin>:104:2: note: possible intended match here
# |  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\Transforms\LoopVectorize\RISCV\evl-compatible-loops.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
Step 8 (stage 1 check) failure: stage 1 check (failure)
...
  Passed           : 71798 (99.14%)
  Expectedly Failed:    35 (0.05%)
[83/84] Running the LLVM regression tests
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\Program Files\Git\usr\bin
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using ld.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using lld-link: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\lld-link.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using ld64.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld64.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using wasm-ld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\wasm-ld.exe
-- Testing: 59903 tests, 32 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (32552 of 59903)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\opt.exe -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\Transforms\LoopVectorize\RISCV\evl-compatible-loops.ll | c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\Transforms\LoopVectorize\RISCV\evl-compatible-loops.ll
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\opt.exe' -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe' 'C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\Transforms\LoopVectorize\RISCV\evl-compatible-loops.ll'
# .---command stderr------------
# | C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\Transforms\LoopVectorize\RISCV\evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
# |               ^
# | <stdin>:103:10: note: scanning from here
# | for.body: ; preds = %scalar.ph, %for.body
# |          ^
# | <stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
# | for.body: ; preds = %scalar.ph, %for.body
# |          ^
# | <stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
# | for.body: ; preds = %scalar.ph, %for.body
# |          ^
# | <stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
# | for.body: ; preds = %scalar.ph, %for.body
# |          ^
# | <stdin>:104:2: note: possible intended match here
# |  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\Transforms\LoopVectorize\RISCV\evl-compatible-loops.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-key-instructions running on sie-linux-worker5 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/208/builds/3447

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-ki/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbot/buildbot-root/llvm-ki/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbot/buildbot-root/llvm-ki/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/buildbot/buildbot-root/llvm-ki/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
�[1m/home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
�[0;1;32m              ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mwith "BC_RESUME_VAL" equal to "%bc.resume.val"
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mwith "SCALAR_PH" equal to "%scalar.ph"
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mwith "FOR_BODY" equal to "%for.body"
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:104:2: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
�[0;1;32m ^
�[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
�[1m�[0m�[0;1;30m            1: �[0m�[1m�[0;1;46m; ModuleID = '<stdin>' �[0m
�[0;1;30m            2: �[0m�[1m�[0;1;46msource_filename = "<stdin>" �[0m
�[0;1;30m            3: �[0m�[1m�[0;1;46mtarget datalayout = "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128" �[0m
�[0;1;30m            4: �[0m�[1m�[0;1;46mtarget triple = "riscv64" �[0m
�[0;1;30m            5: �[0m�[1m�[0;1;46m �[0m
�[0;1;30m            6: �[0m�[1m�[0;1;46m�[0mdefine void @test_wide_integer_induction(ptr noalias %a, i64 %N) #0 {�[0;1;46m �[0m
�[0;1;32mlabel:8'0      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32mlabel:8'1      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32msame:9'0                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32msame:9'1                                                            ^~                captured var "A"
�[0m�[0;1;32msame:9'2                                                                    ^~        captured var "N"
�[0m�[0;1;32msame:9'3                                                                         ^    captured var "ATTR0"
�[0m�[0;1;30m            7: �[0m�[1m�[0;1;46m�[0mentry:�[0;1;46m �[0m
�[0;1;32mnext:10        ^~~~~~
�[0m�[0;1;30m            8: �[0m�[1m�[0;1;46m �[0mbr i1 false, label %scalar.ph, label %vector.ph�[0;1;46m �[0m
�[0;1;32mnext:11'0       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-sve-vls running on linaro-g3-03 while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/143/builds/9808

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder ppc64le-lld-multistage-test running on ppc64le-lld-multistage-test while building llvm at step 7 "test-build-stage1-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/14996

Here is the relevant piece of the build log for the reference
Step 7 (test-build-stage1-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...
Step 13 (test-build-stage2-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-sve2-vla running on linaro-g4-01 while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/198/builds/6732

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
+ /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-sve-vla running on linaro-g3-01 while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/17/builds/10030

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-global-isel running on linaro-clang-aarch64-global-isel while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/125/builds/9716

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-hwasan running on sanitizer-buildbot11 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/55/builds/15315

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89655 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70711 of 89655)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 11 (stage2/hwasan check) failure: stage2/hwasan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89655 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70711 of 89655)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 14 (stage3/hwasan check) failure: stage3/hwasan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 86438 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70716 of 86438)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu-no-asserts running on doug-worker-6 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/202/builds/2716

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/buildbot-root/gcc-no-asserts/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbot/buildbot-root/gcc-no-asserts/build/bin/FileCheck /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbot/buildbot-root/gcc-no-asserts/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/buildbot/buildbot-root/gcc-no-asserts/build/bin/FileCheck /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
�[1m/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
�[0;1;32m              ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mwith "BC_RESUME_VAL" equal to "%bc.resume.val"
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mwith "SCALAR_PH" equal to "%scalar.ph"
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:103:10: �[0m�[0;1;30mnote: �[0m�[1mwith "FOR_BODY" equal to "%for.body"
�[0mfor.body: ; preds = %scalar.ph, %for.body
�[0;1;32m         ^
�[0m�[1m<stdin>:104:2: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
�[0;1;32m ^
�[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
�[1m�[0m�[0;1;30m            1: �[0m�[1m�[0;1;46m; ModuleID = '<stdin>' �[0m
�[0;1;30m            2: �[0m�[1m�[0;1;46msource_filename = "<stdin>" �[0m
�[0;1;30m            3: �[0m�[1m�[0;1;46mtarget datalayout = "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128" �[0m
�[0;1;30m            4: �[0m�[1m�[0;1;46mtarget triple = "riscv64" �[0m
�[0;1;30m            5: �[0m�[1m�[0;1;46m �[0m
�[0;1;30m            6: �[0m�[1m�[0;1;46m�[0mdefine void @test_wide_integer_induction(ptr noalias %a, i64 %N) #0 {�[0;1;46m �[0m
�[0;1;32mlabel:8'0      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32mlabel:8'1      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32msame:9'0                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32msame:9'1                                                            ^~                captured var "A"
�[0m�[0;1;32msame:9'2                                                                    ^~        captured var "N"
�[0m�[0;1;32msame:9'3                                                                         ^    captured var "ATTR0"
�[0m�[0;1;30m            7: �[0m�[1m�[0;1;46m�[0mentry:�[0;1;46m �[0m
�[0;1;32mnext:10        ^~~~~~
�[0m�[0;1;30m            8: �[0m�[1m�[0;1;46m �[0mbr i1 false, label %scalar.ph, label %vector.ph�[0;1;46m �[0m
�[0;1;32mnext:11'0       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-multistage running on ppc64le-clang-multistage-test while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/11936

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...
Step 11 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-ubsan running on sanitizer-buildbot10 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/85/builds/11942

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89656 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70714 of 89656)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 11 (stage2/ubsan check) failure: stage2/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89656 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70714 of 89656)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 14 (stage3/ubsan check) failure: stage3/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 86438 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70729 of 86438)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-s390x-linux running on systemz-1 while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/42/builds/5677

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-fast running on sanitizer-buildbot4 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/13789

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91890 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (74962 of 91890)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 10 (stage2/asan_ubsan check) failure: stage2/asan_ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91890 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (74962 of 91890)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 14 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91889 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (47506 of 91889)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64le-rhel running on ppc64le-clang-rhel-test while building llvm at step 7 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/145/builds/8903

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-msan running on sanitizer-buildbot9 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/94/builds/9610

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89654 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70714 of 89654)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 11 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89654 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70714 of 89654)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 14 (stage3/msan check) failure: stage3/msan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 86438 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70725 of 86438)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-asan running on sanitizer-buildbot8 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/24/builds/11313

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89656 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70713 of 89656)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 11 (stage2/asan check) failure: stage2/asan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89656 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70713 of 89656)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 14 (stage3/asan check) failure: stage3/asan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 86438 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (70723 of 86438)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-msan running on sanitizer-buildbot6 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/164/builds/12317

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91889 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (72359 of 91889)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 11 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91889 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (72359 of 91889)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 14 (stage3/msan check) failure: stage3/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88586 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (72384 of 88586)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-sve2-vla-2stage running on linaro-g4-02 while building llvm at step 12 "ninja check 2".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/199/builds/5028

Here is the relevant piece of the build log for the reference
Step 12 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla-2stage/stage2/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla-2stage/stage2/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla-2stage/stage2/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla-2stage/stage2/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-sve-vla-2stage running on linaro-g3-04 while building llvm at step 12 "ninja check 2".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/41/builds/8183

Here is the relevant piece of the build log for the reference
Step 12 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/stage2/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/stage2/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/stage2/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/stage2/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-sve-vls-2stage running on linaro-g3-02 while building llvm at step 12 "ninja check 2".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/4/builds/8304

Here is the relevant piece of the build log for the reference
Step 12 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-debian-cpp20 running on clang-debian-cpp20 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/108/builds/16245

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-asan running on sanitizer-buildbot2 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/52/builds/10251

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91890 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (72370 of 91890)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 11 (stage2/asan check) failure: stage2/asan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91890 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (72370 of 91890)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 14 (stage3/asan check) failure: stage3/asan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88586 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (72385 of 88586)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-ubsan running on sanitizer-buildbot4 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/25/builds/10534

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91891 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (72382 of 91891)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 11 (stage2/ubsan check) failure: stage2/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91891 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (72382 of 91891)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
Step 14 (stage3/ubsan check) failure: stage3/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88586 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (72369 of 88586)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 

@lukel97
Copy link
Contributor Author

lukel97 commented Aug 7, 2025

Buildbot failures fixed in 44af26e

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-debian running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/24018

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building llvm at step 7 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/34974

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/llvm-x86_64-debian-dylib/build/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /b/1/llvm-x86_64-debian-dylib/build/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 7, 2025

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/32766

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/opt -passes=loop-vectorize  -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue  -mtriple=riscv64 -mattr=+v -S < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ]
              ^
<stdin>:103:10: note: scanning from here
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "SCALAR_PH" equal to "%scalar.ph"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:103:10: note: with "FOR_BODY" equal to "%for.body"
for.body: ; preds = %scalar.ph, %for.body
         ^
<stdin>:104:2: note: possible intended match here
 %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ]
 ^

Input file: <stdin>
Check file: /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           98: scalar.ph: ; preds = %entry 
           99:  %bc.resume.val = phi i64 [ 0, %entry ] 
          100:  %bc.resume.val1 = phi ptr [ %b, %entry ] 
          101:  br label %for.body 
          102:  
          103: for.body: ; preds = %scalar.ph, %for.body 
next:113'0              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:113'1                                                with "BC_RESUME_VAL" equal to "%bc.resume.val"
next:113'2                                                with "SCALAR_PH" equal to "%scalar.ph"
next:113'3                                                with "FOR_BODY" equal to "%for.body"
          104:  %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] 
next:113'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:113'4      ?                                                         possible intended match
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants